package com.menu.Pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notice {

    @ApiModelProperty(value = "消息通知id")
    private Integer noticeId;
    @ApiModelProperty(value = "消息通知类型,0是收藏食谱,1是收藏菜单,2是关注用户,3是点赞食谱,4是官方通知")
    private Integer noticeState;
    @ApiModelProperty(value = "根据通知类型而传id")
    private Integer id;
    @ApiModelProperty(value = "用户一id")
    private Integer userOneId;
    @ApiModelProperty(value = "用户二id")
    private Integer userTwoId;
    @ApiModelProperty(value = "通知时间")
    private String noticeTime;
    @ApiModelProperty(value = "通知内容")
    private String content;

    @ApiModelProperty(value = "用户一昵称")
    private String nickname;
    @ApiModelProperty(value = "用户一头像")
    private String headImg;
    @ApiModelProperty("菜谱或者菜单封面")
    private String menuSrc;


}
